package com.beilang.hotline.telrecord.manager;

import com.beilang.hotline.telrecord.model.TelrecordModel;
import com.beilang.hotline.telrecord.to.SearchTO;
import com.beilang.hotline.user.model.UserModel;
import com.beilang.hotline.person.model.PersonModel;
import com.beilang.base.pagination.PaginationHelper;

import java.util.Date;
import java.util.List;

public interface TelrecordMgr {

    public TelrecordModel createTelrecord(TelrecordModel telrecordModel);

    public TelrecordModel saveTelrecord(TelrecordModel telrecordModel);

    public void deleteTelrecord(Long recordId);

    public TelrecordModel getTelrecord(Long recordId);

    public PaginationHelper getTelrecordList(UserModel user,PaginationHelper helper, SearchTO searchTO);

    public String genereateReport(UserModel user,SearchTO searchTO,String extFormat,String extDetail,String extMode);

    public byte[] genereatevoicefileReport(Date dateFrom, Date dateTo,int workDays);

     public List getSearchCompanyList(String companyName,List companyTypeList);

    public PersonModel getCompanyPersonByTelephone(String telephonenumber);

    public TelrecordModel setTelrecordModelDesc(TelrecordModel telrecordModel);
    
}
